package com.zkld.mapper;

import com.github.pagehelper.PageInfo;
import com.zkld.pojo.Plugin;
import com.zkld.pojo.PluginExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface PluginMapper {

    List<Plugin> queryByPageAndName(@Param("p") Integer p, @Param("name") String name);

    Plugin query(Plugin plugin);

    List<Plugin> queryAll();

    long countByExample(PluginExample example);

    int deleteByExample(PluginExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Plugin record);

    int insertSelective(Plugin record);

    List<Plugin> selectByExample(PluginExample example);

    Plugin selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Plugin record, @Param("example") PluginExample example);

    int updateByExample(@Param("record") Plugin record, @Param("example") PluginExample example);

    int updateByPrimaryKeySelective(Plugin record);

    int updateByPrimaryKey(Plugin record);
}